#include<func.h>
int main(int argc,char * argv[])
{
    ARGS_CHECK(argc,2)
    FILE *fp=fopen(argv[1],"rb+");
    FILE *fp1=fopen(argv[1],"rb+");
    ERROR_CHECK(fp,NULL,"fopen")
    int fd=fileno(fp);
    int fd1=fileno(fp1);
    printf("fd=%d\n",fd);
    printf("fd=%d\n",fd1);
    char buf[128]={0};
    read(fd,buf,5);
    printf("buf=%s\n",buf);
}